package game;

/**
 *
 * @author 10104409
 */
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface IJogo extends Remote {
    public int contagem(int id) throws RemoteException;
    
    public int contagemMesa(int id) throws RemoteException;
    
    public void iniciarPartida(int id) throws RemoteException;
    
    public void comprarCarta(int id) throws RemoteException;
    
    public void comprarCartaMesa(int id) throws RemoteException;
    
    public String mostrarCarta(int id) throws RemoteException;
    
    public String mostrarCartaMesa(int id) throws RemoteException;
    
    public String finalizaPartida(int id) throws RemoteException;
    
    public String finalizaJogo(int id) throws RemoteException;
    
    public String ranking() throws RemoteException;
    
    public Jogador addJogador(String nome) throws RemoteException;
    
    public Jogador getJogador(int id) throws RemoteException;
    
    public boolean JogoOff(int id) throws RemoteException;
}
